projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
dc65425
)
(m2-definition, m2-module): Don't use previous-line.
author
Thien-Thi Nguyen
<ttn@gnuvola.org>
Mon, 27 Aug 2007 13:37:50 +0000
(13:37 +0000)
committer
Thien-Thi Nguyen
<ttn@gnuvola.org>
Mon, 27 Aug 2007 13:37:50 +0000
(13:37 +0000)
lisp/progmodes/modula2.el
patch
|
blob
|
history
diff --git
a/lisp/progmodes/modula2.el
b/lisp/progmodes/modula2.el
index fde526ab303a39fb5056c946b614c3129493991f..f2530a7f502cc90ef4919c8546ca26e1d953be53 100644
(file)
--- a/
lisp/progmodes/modula2.el
+++ b/
lisp/progmodes/modula2.el
@@
-295,7
+295,7
@@
followed by the first character of the construct.
(insert "DEFINITION MODULE ")
(let ((name (read-string "Name: ")))
(insert name ";\n\n\n\nEND " name ".\n"))
- (
previous-line
3))
+ (
forward-line -
3))
(defun m2-else ()
"Insert ELSE keyword and indent for next line."
@@
-364,7
+364,7
@@
followed by the first character of the construct.
(insert "IMPLEMENTATION MODULE ")
(let ((name (read-string "Name: ")))
(insert name ";\n\n\n\nEND " name ".\n")
- (
previous-line
3)
+ (
forward-line -
3)
(m2-header)
(m2-type)
(newline)